import Router from "koa-router";
import { verifyAuth } from "@/middleware/login.middleware";
import { movieService } from "@/service/movie.service";

const movieRouter = new Router({ prefix: "/api/movie" });

movieRouter.get("/", verifyAuth, movieService.getMovies);

export default movieRouter;
